<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">

	// w=window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;

	// alert(w);
	num = 1
	function run () {
		num++;
		alert(888);
		if(num==3){
			clearInterval(time);
		}
	}

	time = setInterval(run,3000);
	 
	function abc () {
		alert(999)
	}

	// setTimeout(abc, 2000);







	</script>
</head>
<body>
	
</body>
</html>